terraform_binary = "terraform"

module "network" {
  source      = "modules/bases/network"
  description = "network  module (vpc,vswtich,security group,...)"
  groups      = ["bases"]
  inputs {
    availability_zones = ["a", "b", "c"]
  }
  prevent_destroy = true
}

module "s3" {
  source = "modules/bases/s3"
  groups = ["bases"]
  inputs {
    vpc_id                = module.network.vpc_id
    vpc_subnet_ids        = module.network.public_subnet_ids
    vpc_subnet_cidr_block = module.network.public_cidr_block
  }
  skip       = true
  depends_on = [module.network]
}
